Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helpers to directly push properties and indexes to pointers #1121

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

jviotti
Copy link
Member

@jviotti jviotti commented Sep 3, 2024

Signed-off-by: Juan Cruz Viotti [email protected]

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (macos)

Benchmark suite Current: dbe6349 Previous: 100f800 Ratio
JSONSchema_Compile_Basic 210283.48158379376 ns/iter 196739.80349593566 ns/iter 1.07
JSONSchema_Validate_Draft4_Meta_1_No_Callback 1517.935184283406 ns/iter 1459.1904001457274 ns/iter 1.04
JSONSchema_Validate_Draft4_Required_Properties 2342.9147049836456 ns/iter 2192.3736454390746 ns/iter 1.07
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match 175.0668784725498 ns/iter 168.9707013745326 ns/iter 1.04
JSONSchema_Validate_Draft4_Items_Schema 9199.331005326198 ns/iter 8000.260824872715 ns/iter 1.15
JSONSchema_Validate_Draft4_Nested_Object 7280.216680078243 ns/iter 6657.047873411632 ns/iter 1.09

This comment was automatically generated by workflow using github-action-benchmark.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/gcc)

Benchmark suite Current: dbe6349 Previous: 100f800 Ratio
JSONSchema_Validate_Draft4_Meta_1_No_Callback 2063.2960880746996 ns/iter 2133.353085342925 ns/iter 0.97
JSONSchema_Validate_Draft4_Required_Properties 2656.895038074802 ns/iter 2854.4597776164687 ns/iter 0.93
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match 215.0405303261176 ns/iter 220.10896465478882 ns/iter 0.98
JSONSchema_Validate_Draft4_Items_Schema 10210.400792311042 ns/iter 10885.629297294758 ns/iter 0.94
JSONSchema_Validate_Draft4_Nested_Object 8804.028468103272 ns/iter 9133.516872674156 ns/iter 0.96
JSONSchema_Compile_Basic 386395.35840706615 ns/iter 390391.87192395807 ns/iter 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (windows)

Benchmark suite Current: dbe6349 Previous: 100f800 Ratio
JSONSchema_Compile_Basic 784623.660714396 ns/iter 788528.3482142062 ns/iter 1.00
JSONSchema_Validate_Draft4_Meta_1_No_Callback 4728.283098846265 ns/iter 4810.3774785208725 ns/iter 0.98
JSONSchema_Validate_Draft4_Required_Properties 3680.652315653802 ns/iter 3639.2914166021046 ns/iter 1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match 723.9066964283479 ns/iter 749.2447544640765 ns/iter 0.97
JSONSchema_Validate_Draft4_Items_Schema 24829.450564165392 ns/iter 25355.24285713921 ns/iter 0.98
JSONSchema_Validate_Draft4_Nested_Object 18405.734872629946 ns/iter 18635.836927112654 ns/iter 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/llvm)

Benchmark suite Current: dbe6349 Previous: 100f800 Ratio
JSONSchema_Compile_Basic 385649.88745386904 ns/iter 392755.5706150269 ns/iter 0.98
JSONSchema_Validate_Draft4_Meta_1_No_Callback 18720.517196400568 ns/iter 18505.237985006952 ns/iter 1.01
JSONSchema_Validate_Draft4_Required_Properties 7867.2884372608005 ns/iter 8026.92325071907 ns/iter 0.98
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match 1706.911941932038 ns/iter 1693.2734273344367 ns/iter 1.01
JSONSchema_Validate_Draft4_Items_Schema 115509.23837017114 ns/iter 114028.04270174386 ns/iter 1.01
JSONSchema_Validate_Draft4_Nested_Object 57364.001080092865 ns/iter 57334.1509092435 ns/iter 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@jviotti jviotti merged commit 5bd9a62 into main Sep 3, 2024
12 checks passed
@jviotti jviotti deleted the pointer-push-back-token branch September 3, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant